package com.hcb.tonguetiphealth.model;



public class Chat extends AbstractTask {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int _id;
	private String tagUserId;
	private String userId;
	private String userName;
	private String potraitURL; //头像地址
	private long time;  //聊天时间（精确到秒）
	private String msg;  //聊天内容
	private String usermac;
	private int protrait;
	private String realName;
	
	public Chat() {}
	
	public Chat(String usermac, String msg,int protrait) {
		this.usermac = usermac;
		this.msg = msg;
		this.protrait = protrait;
	}

	
	
	public String getUsermac() {
		return usermac;
	}

	public void setUsermac(String usermac) {
		this.usermac = usermac;
	}

	public String getMsg() {
		return formate(msg);
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getProtrait() {
		return protrait;
	}

	public void setProtrait(int protrait) {
		this.protrait = protrait;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getUserId() {
		return formate(userId);
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return formate(userName);
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPotraitURL() {
		return formate(potraitURL);
	}

	public void setPotraitURL(String potraitURL) {
		this.potraitURL = potraitURL;
	}

	public String getRealName() {
		return formate(realName);
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getTagUserId() {
		return formate(tagUserId);
	}

	public void setTagUserId(String tagUserId) {
		this.tagUserId = tagUserId;
	}
	
	
}
